﻿(function () {
    "use strict";

    angular
        .module("common.services")
        .factory("taskResource",
        [
            "$resource",
            "appSettings",
            taskResource
        ]);

    function taskResource($resource, appSettings) {
        return $resource(appSettings.serverPath + "/api/tasks/:id");
    }
}());

